bitkeeper revision 1.317 (3f0c0840dkPeEx-FKvCNpuxOGrbQAw)
authorsos22@labyrinth.cl.cam.ac.uk <sos22@labyrinth.cl.cam.ac.uk>
Wed, 9 Jul 2003 12:19:12 +0000 (12:19 +0000)
committersos22@labyrinth.cl.cam.ac.uk <sos22@labyrinth.cl.cam.ac.uk>
Wed, 9 Jul 2003 12:19:12 +0000 (12:19 +0000)
commit6db361322416433a96b2296acdee32f0d56e813d
tree94623ad2684d09a99f3a48a3e6a3e6b98c5337f5
parent22797f26083b23473fb0fd684fb134138ca72591
bitkeeper revision 1.317 (3f0c0840dkPeEx-FKvCNpuxOGrbQAw)

Why was this a spinlock?  We're protecting against other userspace
processes trying to open /proc/xeno/domains, not the kernel.
Switch to using a semaphore.
xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_core.c